import { hasAtomicPermission } from "@/utils/auth";

export function userPermisson() {
  const hasAdd = hasAtomicPermission("ZJXCA00254");
  const hasUpdate = hasAtomicPermission("ZJXCA00275");
  const hasDelete = hasAtomicPermission("ZJXCA00276");
  const hasSelect = hasAtomicPermission("ZJXCA00257");

  return {
    hasAdd,
    hasUpdate,
    hasDelete,
    hasSelect
  };
}
